home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / VIEWS.ZIP;1 / CVDZIP.EXE / CVCLINFO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-20  |  818 b   |  46 lines

  1. /*
  2.     cvclinfo.h
  3.  
  4.     Information holder for ClassTreeView
  5.  
  6.     C++/Views 2.0 Demo
  7.     Copyright (c) 1992, by Liant Software Corp.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12. */
  13.  
  14. #ifndef cvclinfo_h
  15. #define cvclinfo_h
  16. #include "defs.h"
  17. #include "str.h"
  18.  
  19. class ClassInfo {
  20. private:
  21.     ClassInfo  *parent;
  22.     ClassInfo  *next;
  23.     VString        name;
  24.     int            cy;
  25.     int            cx;
  26.  
  27. public:
  28.     ClassInfo(char*, ClassInfo*, int, int);
  29.     ClassInfo();
  30.     ~ClassInfo();
  31.  
  32.     VClass *iam();
  33.     boolean free();
  34.  
  35.     ClassInfo  *getNext()    { return(next); }
  36.     ClassInfo  *getParent()    { return(parent); }
  37.     VString       *getName()    { return(&name); }
  38.     int            getX()        { return(cx); }
  39.     int            getY()        { return(cy); }
  40.  
  41.     void        setParent(ClassInfo *p)    { parent = p; }
  42. };
  43.  
  44. extern VClass *ClassInfoCls;
  45. #endif /* cvclinfo_h */
  46.